package com.edu.whty.dao;


import com.edu.whty.dao.base.IBaseDao;
import com.edu.whty.entity.base.Pagination;
import com.edu.whty.entity.school.RepoCatalogResource;

import java.util.List;
import java.util.Map;

public interface RepoCatalogResourceDao extends IBaseDao {

	List<RepoCatalogResource> getResByCatalogIdInPage(RepoCatalogResource catalogResParam, Pagination pagination);

	Map<String, Object> getConfigSpecialRepoCountInfo(RepoCatalogResource param);

	List<Map<String, Object>> countFourRepoResNum(Map<String, Object> param);

	Integer countByCondition(Map param);

	List<RepoCatalogResource> selectAllResourceUnderRepoByPagination(Map param);

	int insert(RepoCatalogResource record);

	void logicDeleteResRelationId(String ids);

}